package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 工单表 t_task_order
 * 
 * @author ruoyi
 * @date 2019-02-20
 */
public class TTaskOrder extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键ID */
	private String id;
	/** 计划编号 */
	private String plancode;
	/** 提交人 */
	private String operator;
	/** 工位编号 */
	private String stationcode;
	/** 工位名称 */
	private String stationname;
	/** 工单状态（0：运行中；1：已完成；2：作废；3：挂起；4：未下发；5：等待；6：待激活-压装工位独有状态） */
	private String state;
	/** 工单下发时间 */
	private Date receivetime;
	/** 工单开始时间 */
	private Date starttime;
	/** 工单结束时间 */
	private Date finishtime;
	/** 产品ID */
	private String productid;
	/** 工单编号 */
	private String ordercode;
	/** 具体的步骤（可参考本工位的绿灯数量） */
	private String step;
	/** 预计开始时间 */
	private Date beginTime;
	/** 预计结束时间 */
	private Date endTime;
	/** 预计加工时长 */
	private Integer workTime;
	/** 提交人2 */
	private String operator2;
	/** 提交人3 */
	private String operator3;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setPlancode(String plancode) 
	{
		this.plancode = plancode;
	}

	public String getPlancode() 
	{
		return plancode;
	}
	public void setOperator(String operator) 
	{
		this.operator = operator;
	}

	public String getOperator() 
	{
		return operator;
	}
	public void setStationcode(String stationcode) 
	{
		this.stationcode = stationcode;
	}

	public String getStationcode() 
	{
		return stationcode;
	}
	public void setStationname(String stationname) 
	{
		this.stationname = stationname;
	}

	public String getStationname() 
	{
		return stationname;
	}
	public void setState(String state) 
	{
		this.state = state;
	}

	public String getState() 
	{
		return state;
	}
	public void setReceivetime(Date receivetime) 
	{
		this.receivetime = receivetime;
	}

	public Date getReceivetime() 
	{
		return receivetime;
	}
	public void setStarttime(Date starttime) 
	{
		this.starttime = starttime;
	}

	public Date getStarttime() 
	{
		return starttime;
	}
	public void setFinishtime(Date finishtime) 
	{
		this.finishtime = finishtime;
	}

	public Date getFinishtime() 
	{
		return finishtime;
	}
	public void setProductid(String productid) 
	{
		this.productid = productid;
	}

	public String getProductid() 
	{
		return productid;
	}
	public void setOrdercode(String ordercode) 
	{
		this.ordercode = ordercode;
	}

	public String getOrdercode() 
	{
		return ordercode;
	}
	public void setStep(String step) 
	{
		this.step = step;
	}

	public String getStep() 
	{
		return step;
	}
	public void setBeginTime(Date beginTime) 
	{
		this.beginTime = beginTime;
	}

	public Date getBeginTime() 
	{
		return beginTime;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}
	public void setWorkTime(Integer workTime) 
	{
		this.workTime = workTime;
	}

	public Integer getWorkTime() 
	{
		return workTime;
	}
	public void setOperator2(String operator2) 
	{
		this.operator2 = operator2;
	}

	public String getOperator2() 
	{
		return operator2;
	}
	public void setOperator3(String operator3) 
	{
		this.operator3 = operator3;
	}

	public String getOperator3() 
	{
		return operator3;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("plancode", getPlancode())
            .append("operator", getOperator())
            .append("stationcode", getStationcode())
            .append("stationname", getStationname())
            .append("state", getState())
            .append("receivetime", getReceivetime())
            .append("starttime", getStarttime())
            .append("finishtime", getFinishtime())
            .append("productid", getProductid())
            .append("ordercode", getOrdercode())
            .append("step", getStep())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("workTime", getWorkTime())
            .append("operator2", getOperator2())
            .append("operator3", getOperator3())
            .toString();
    }
}
